package com.uairobot.bill.yz.office.agent.entity;


import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author bill robot
 * @date 2020年1月14日_下午1:51:46 
 * @version 1.0 
 * @desc
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "yz_preview")
public class YzPreview {
  @Id
  private String md5;
  private String previewUri;
  private Integer browseCount, downloadCount;
  
  @Transient
  private String filename;
  @Transient
  private Integer size;
  @Transient
  private Date uploadTime;
  @Transient
  private String uri;
}
